home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK1.toast / Development Kits (Disc 1) / AppleScript / Development Tools / Sample Code / 7Edit 3.1 / Sources / SVAppleEvents.h < prev    next >
Encoding:
Text File  |  1995-11-20  |  824 b   |  29 lines  |  [TEXT/MPS ]

  1. // SVAppleEvents.h
  2. //
  3. // 7Edit 3.1d1. Original version by Jon Lansdell and Nigel Humphreys.
  4. // 3.1 updates by Greg Sutton.
  5. // ©Apple Computer Inc 1995, all rights reserved.
  6.  
  7. #ifndef __SVAPPLEEVENTS__
  8. #define __SVAPPLEEVENTS__
  9.  
  10. #include <Types.h>
  11. #include <Quickdraw.h>
  12. #include <Packages.h>
  13. #include <GestaltEqu.h>
  14. #include <Editions.h>
  15.  
  16. #include "SVToken.h"
  17.  
  18. #define     noRefCon     -1
  19.  
  20. void             InitAppleEvents(void);
  21. void            DoAppleEvent(EventRecord theEvent);
  22.  
  23. pascal OSErr DoOpenApp(const AppleEvent *message,const AppleEvent *reply,long refcon);
  24. pascal OSErr DoOpenDocument(const AppleEvent *message, const AppleEvent *reply, long refcon);        
  25. pascal OSErr MyQuit(const AppleEvent *message,const AppleEvent *reply,long refcon);    
  26. pascal OSErr DoPrintDocuments(const AppleEvent *message, AppleEvent *reply, long refcon);
  27.  
  28.  
  29. #endif